# Other paths that are accessible by xrootd
# i.e. /data/xrootdfs
all.export <%= storagePath %> 

# tells each component the DNS name of the manager.
# Below the Use the “all.role” directive to differentiate 
# servers and managers.
set xrdr = <%= fqdnRedirector %> 
all.manager $(xrdr):3121


# Data Nodes
all.role server

# the exported file system is mounted at /data/xrootdfs. This 
# means that all file paths start with “/data/xrootdfs”. The localroot 
# directive allows you to remount the file system elsewhere without 
# changing the exported name. Now the file system at /local/xrootd/data/xrootdfs
# i.e  /local/xrootd
  oss.localroot <%= ossLocalRoot %> 

# Specifies which operations are to send an event notification to 
# command. One or more operations may be specified. The specifications 
# are cumulative and processed left to right. 
  ofs.notify closew create mkdir mv rm rmdir trunc | /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1095:<%= inventory %> 

#add cms.space if you have less the 11GB
# cms.space options http://xrootd.slac.stanford.edu/doc/dev/cms_config.htm
  cms.space min 2g 5g

###########################################################
# ENABLE_SECURITY_BEGIN
###########################################################
###########################################################

# Specify the location of the security interface layer.
  xrootd.seclib /usr/lib64/libXrdSec.so

# this specify that we use the 'unix' authentication module, 
# additional one can be specified.
  sec.protocol /usr/lib64 unix

# this is the authorization file
  acc.authdb /etc/xrootd/auth_file
  ofs.authorize

###########################################################
# ENABLE_SECURITY_END
###########################################################


